-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Do not permit type parameters on builtin bounds #22680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -332,6 +332,7 @@ pub fn winsorize<T: Float + FromPrimitive>(samples: &mut [T], pct: T) { | |||
|
|||
/// Returns a HashMap with the number of occurrences of every element in the | |||
/// sequence that the iterator exposes. | |||
#[cfg(not(stage0))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this #[cfg(not(stage0))]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for that bug in libtest after the Hash
definition was changed. I've the same fix in the oibit patch, I guess we can wait for that one to land and remove this one.
Needs Manishearth@c94e436 to compile on master. |
Fixes #20302